﻿namespace EFS.RC.CC.Messages.Communicator.Lync.Context
{
	/// Used for the statuses message list
	public class HW : EFS.RC.CC.Messages.Message
	{
		/// Public constructor (used especially for deserialization)
		public HW()
			: base()
		{
		}

		/// Property ApplicantID : Get, Set
		public System.Int32 ApplicantID;

		/// Property PartyID : Get, Set
		public System.Int64 PartyID;

		/// Serialize
		public override void Serialize(EFS.Common.Serialization.XmlWriter xmlWriter)
		{
			// write
			xmlWriter.Write("ApplicantID", ApplicantID);
			xmlWriter.Write("PartyID", PartyID);
		}

		/// Deserialize
		public override void Deserialize(EFS.Common.Serialization.XmlReader xmlReader)
		{
			// read
			xmlReader.Read("ApplicantID", ref  ApplicantID);
			xmlReader.Read("PartyID", ref  PartyID);
		}
	}

}